package com.wing.product.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.wing.mybatis.common.BaseEntity;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 工艺线路模板
 *
 * @author xiayang
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("pro_process_line_template")
public class ProcessLineTemplate extends BaseEntity<ProcessLineTemplate> implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 状态
     */
    private String status;

    /**
     * 工艺线路类型
     */
    private String processLineType;

    /**
     * 编码
     */
    private String code;

    /**
     * 名称
     */
    private String name;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 工序模板统计
     */
    @TableField(exist = false)
    private Integer processTotal;

    @TableField(exist = false)
    private String processLineTypeName;

    @TableField(exist = false)
    private String statusName;

}
